﻿using System;

namespace linkedin_bot_demo.Models
{
    public class GroupModel
    {
        public int Id { get; set; }
        public string Name { get; set; }

        public bool IsSelected { get; set; }

        public override string ToString()
        {
            try
            {
                return string.Format("{0} ({1})", Name, Id);
            }
            catch
            {
                return base.ToString();
            }
        }
    }
}
